package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Y·C
 * @since 2023-04-20
 */
@Getter
@Setter
  @ApiModel(value = "Details对象", description = "")
public class Details implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("用户id")
      private Integer uid;

      @ApiModelProperty("登记目的")
      private String registeredAim;

      @ApiModelProperty("父母状况")
      private String parentsState;

      @ApiModelProperty("与Ta父母住")
      private String live;

      @ApiModelProperty("子女情况")
      private String childrenState;

      @ApiModelProperty("兄弟姐妹")
      private String sibling;

      @ApiModelProperty("工作行业")
      private String workIndustry;

      @ApiModelProperty("单位类型")
      private String workplace;

      @ApiModelProperty("毕业院校")
      private String graduateSchool;

      @ApiModelProperty("房产位置")
      private String propertyLocation;

      @ApiModelProperty("是否吸烟")
      private String smoking;

      @ApiModelProperty("是否饮酒")
      private String drinking;

      @ApiModelProperty("我的标签")
      private String label;

      @ApiModelProperty("择偶标准")
      private String standard;

      @ApiModelProperty(value = "创建时间")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @TableField(value = "create_time")
      private LocalDateTime createTime;


}
